class CountriesOrganizations < ActiveRecord::Migration
  def self.up
    create_table :countries_organizations, :id => false do |t|
      t.column :country_id, :integer
      t.column :organization_id, :integer
    end
    add_index :countries_organizations, [:country_id]
    add_index :countries_organizations, [:organization_id]
  end

  def self.down
    drop_table :countries_organizations
  end
end
